Skip to content

Code clean-up and documentation refresh#201

Merged
AndrewSazonov merged 12 commits into
developfrom
refactoring
Jun 12, 2026
Merged

Code clean-up and documentation refresh#201
AndrewSazonov merged 12 commits into
developfrom
refactoring

Conversation

@AndrewSazonov

Copy link
Copy Markdown
Member

This update refreshes the EasyDiffraction documentation and tidies the library's internals. The getting-started and analysis user guides have been corrected to match the current API, and the single-crystal example tutorials now follow a consistent sc- naming scheme, making the examples easier to find and follow. Under the hood, some unused code was removed and a small amount of duplicated logic consolidated — with no change to how the library works or to any results it produces.

@AndrewSazonov AndrewSazonov added the [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) label Jun 12, 2026
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.30%. Comparing base (beba720) to head (5b8663e).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #201      +/-   ##
===========================================
+ Coverage    90.22%   90.30%   +0.07%     
===========================================
  Files          271      274       +3     
  Lines        23273    23380     +107     
  Branches      2718     2727       +9     
===========================================
+ Hits         20999    21113     +114     
+ Misses        1707     1693      -14     
- Partials       567      574       +7     
Flag Coverage Δ
unittests 90.30% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/easydiffraction/analysis/analysis.py 93.45% <100.00%> (-0.01%) ⬇️
...c/easydiffraction/analysis/fit_helpers/bayesian.py 79.55% <ø> (-0.08%) ⬇️
src/easydiffraction/analysis/minimizers/base.py 100.00% <ø> (ø)
src/easydiffraction/analysis/minimizers/lmfit.py 96.55% <ø> (+5.92%) ⬆️
src/easydiffraction/core/guard.py 87.50% <ø> (+2.39%) ⬆️
src/easydiffraction/display/plotting.py 90.01% <ø> (+0.06%) ⬆️
...easydiffraction/project/categories/info/default.py 85.86% <ø> (+3.39%) ⬆️

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AndrewSazonov AndrewSazonov merged commit bfa1f08 into develop Jun 12, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant